package com.huaao.micropolice.core.model.system;

import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;


/**
 * @author qiyang
 * menu,dept联合起来 role控制查询
 * @version 1.0
 */
public class Menu_Dept implements Serializable{
	private String id;
	private Menu menu;
	private Dept dept;
	
	private Set<Role> roles = new LinkedHashSet<Role>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Menu getMenu() {
		return menu;
	}
	public void setMenu(Menu menu) {
		this.menu = menu;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}
	public Set<Role> getRoles() {
		return roles;
	}
	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}
}
